<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-CPP: TSpinBox类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-CPP
   </div>
   <div id="projectbrief">AWTK CPP API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_t_spin_box-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TSpinBox类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a>&gt;</code></p>
<div class="dynheader">
类 TSpinBox 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_spin_box.png" usemap="#TSpinBox_map" alt=""/>
  <map id="TSpinBox_map" name="TSpinBox_map">
<area href="class_t_edit.html" alt="TEdit" shape="rect" coords="0,56,65,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab1aaa28c2eca7b9f52a06ea4465bdb48"><td class="memItemLeft" align="right" valign="top"><a id="ab1aaa28c2eca7b9f52a06ea4465bdb48"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TSpinBox</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:ab1aaa28c2eca7b9f52a06ea4465bdb48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33ee4ebdb652f37b27a042a5a43ff36"><td class="memItemLeft" align="right" valign="top"><a id="af33ee4ebdb652f37b27a042a5a43ff36"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TSpinBox</b> (const spin_box_t *nativeObj)</td></tr>
<tr class="separator:af33ee4ebdb652f37b27a042a5a43ff36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab42cdbde65ea75df9ebb3081cfc0c147"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_spin_box.html#ab42cdbde65ea75df9ebb3081cfc0c147">SetEasyTouchMode</a> (bool easy_touch_mode)</td></tr>
<tr class="separator:ab42cdbde65ea75df9ebb3081cfc0c147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a124db5cf6dfbacfe8dff41721b9a9549"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_spin_box.html#a124db5cf6dfbacfe8dff41721b9a9549">SetButtonPosition</a> (const char *button_position)</td></tr>
<tr class="separator:a124db5cf6dfbacfe8dff41721b9a9549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab93fe331e69ff1e2753d1031ad44e47e"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_spin_box.html#ab93fe331e69ff1e2753d1031ad44e47e">SpinSetRepeat</a> (int32_t repeat)</td></tr>
<tr class="separator:ab93fe331e69ff1e2753d1031ad44e47e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27ecbb6c1cc664c5d6527052f1b15e6a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_spin_box.html#a27ecbb6c1cc664c5d6527052f1b15e6a">GetEasyTouchMode</a> () const</td></tr>
<tr class="separator:a27ecbb6c1cc664c5d6527052f1b15e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4bc16d16b0d65515a31d8610fbf2ce2"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_spin_box.html#ab4bc16d16b0d65515a31d8610fbf2ce2">GetButtonPosition</a> () const</td></tr>
<tr class="separator:ab4bc16d16b0d65515a31d8610fbf2ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_t_edit"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_t_edit')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_t_edit.html">TEdit</a></td></tr>
<tr class="memitem:a83bcec0ab6b236b5e1c23140341a51c4 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top"><a id="a83bcec0ab6b236b5e1c23140341a51c4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TEdit</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a83bcec0ab6b236b5e1c23140341a51c4 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b796c2692138c8ea30018e9db951650 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top"><a id="a1b796c2692138c8ea30018e9db951650"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TEdit</b> (const edit_t *nativeObj)</td></tr>
<tr class="separator:a1b796c2692138c8ea30018e9db951650 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800b612a6de458ec938721f23326f58c inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a800b612a6de458ec938721f23326f58c">GetInt</a> ()</td></tr>
<tr class="separator:a800b612a6de458ec938721f23326f58c inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ea74a1b250df13cb77148976f4dc3dd inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a3ea74a1b250df13cb77148976f4dc3dd">GetDouble</a> ()</td></tr>
<tr class="separator:a3ea74a1b250df13cb77148976f4dc3dd inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a928635cb9975867d431bfd034ad8319b inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a928635cb9975867d431bfd034ad8319b">SetInt</a> (int32_t value)</td></tr>
<tr class="separator:a928635cb9975867d431bfd034ad8319b inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6236322f2c2e9210c273354bb48c0c70 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a6236322f2c2e9210c273354bb48c0c70">SetDouble</a> (double value)</td></tr>
<tr class="separator:a6236322f2c2e9210c273354bb48c0c70 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb36f874c08ab3e0ccc631b3137257d1 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#adb36f874c08ab3e0ccc631b3137257d1">SetDoubleEx</a> (const char *format, double value)</td></tr>
<tr class="separator:adb36f874c08ab3e0ccc631b3137257d1 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf7d2344674af49be26151ff7cef041 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#acbf7d2344674af49be26151ff7cef041">SetTextLimit</a> (uint32_t min, uint32_t max)</td></tr>
<tr class="separator:acbf7d2344674af49be26151ff7cef041 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f943d75a18a5a6b577da6111e0e4b24 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a7f943d75a18a5a6b577da6111e0e4b24">SetIntLimit</a> (int32_t min, int32_t max, uint32_t step)</td></tr>
<tr class="separator:a7f943d75a18a5a6b577da6111e0e4b24 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07a34cc8da8e59b6aa3f4a8f3343692e inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a07a34cc8da8e59b6aa3f4a8f3343692e">SetFloatLimit</a> (double min, double max, double step)</td></tr>
<tr class="separator:a07a34cc8da8e59b6aa3f4a8f3343692e inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad444747ab31a42e1cf170fc1331d6eb1 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#ad444747ab31a42e1cf170fc1331d6eb1">SetReadonly</a> (bool readonly)</td></tr>
<tr class="separator:ad444747ab31a42e1cf170fc1331d6eb1 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b2589ab5eb1b518afa75e4870550a3 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a43b2589ab5eb1b518afa75e4870550a3">SetCancelable</a> (bool cancelable)</td></tr>
<tr class="separator:a43b2589ab5eb1b518afa75e4870550a3 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcbcb29229a00fbd7ee8bd4aa74c61de inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#adcbcb29229a00fbd7ee8bd4aa74c61de">SetAutoFix</a> (bool auto_fix)</td></tr>
<tr class="separator:adcbcb29229a00fbd7ee8bd4aa74c61de inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2804ed044afbfa2e52c5134c6d61aa17 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a2804ed044afbfa2e52c5134c6d61aa17">SetSelectNoneWhenFocused</a> (bool select_none_when_focused)</td></tr>
<tr class="separator:a2804ed044afbfa2e52c5134c6d61aa17 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e0cc4ee6e18087696865c15a74e9381 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a9e0cc4ee6e18087696865c15a74e9381">SetOpenImWhenFocused</a> (bool open_im_when_focused)</td></tr>
<tr class="separator:a9e0cc4ee6e18087696865c15a74e9381 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b58f2cb68baaddfe67f202a20ba46c1 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a9b58f2cb68baaddfe67f202a20ba46c1">SetCloseImWhenBlured</a> (bool close_im_when_blured)</td></tr>
<tr class="separator:a9b58f2cb68baaddfe67f202a20ba46c1 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07719518ea4a28b57e7874d6556dbcbe inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a07719518ea4a28b57e7874d6556dbcbe">SetInputType</a> (input_type_t type)</td></tr>
<tr class="separator:a07719518ea4a28b57e7874d6556dbcbe inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accabc88af1bd5f92c102e7d0ae90d5f4 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#accabc88af1bd5f92c102e7d0ae90d5f4">SetActionText</a> (const char *action_text)</td></tr>
<tr class="separator:accabc88af1bd5f92c102e7d0ae90d5f4 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb4af79c5bed07266187f01b89a998a6 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#aeb4af79c5bed07266187f01b89a998a6">SetTips</a> (const char *tips)</td></tr>
<tr class="separator:aeb4af79c5bed07266187f01b89a998a6 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6434df850d2d74735c9c8acfeb2581f inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#aa6434df850d2d74735c9c8acfeb2581f">SetTrTips</a> (const char *tr_tips)</td></tr>
<tr class="separator:aa6434df850d2d74735c9c8acfeb2581f inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583636ab239dafaee61649b4203c9309 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a583636ab239dafaee61649b4203c9309">SetKeyboard</a> (const char *keyboard)</td></tr>
<tr class="separator:a583636ab239dafaee61649b4203c9309 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af67611a4bfdd8cc10cc5b366b264147e inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#af67611a4bfdd8cc10cc5b366b264147e">SetPasswordVisible</a> (bool password_visible)</td></tr>
<tr class="separator:af67611a4bfdd8cc10cc5b366b264147e inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5911767134a7130de49b877e9fc1964 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#af5911767134a7130de49b877e9fc1964">SetFocus</a> (bool focus)</td></tr>
<tr class="separator:af5911767134a7130de49b877e9fc1964 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc7a8787885c1af4807918b4803d10a0 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#afc7a8787885c1af4807918b4803d10a0">SetCursor</a> (uint32_t cursor)</td></tr>
<tr class="separator:afc7a8787885c1af4807918b4803d10a0 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54d18c2cb216be5ebe591cad448c8483 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a54d18c2cb216be5ebe591cad448c8483">GetCursor</a> ()</td></tr>
<tr class="separator:a54d18c2cb216be5ebe591cad448c8483 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bf23bda2694a7f2529f87f092889b4b inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a9bf23bda2694a7f2529f87f092889b4b">SetSelect</a> (uint32_t start, uint32_t end)</td></tr>
<tr class="separator:a9bf23bda2694a7f2529f87f092889b4b inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf008c83829a4317556f1a4bfa2d06f7 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#acf008c83829a4317556f1a4bfa2d06f7">GetSelectedText</a> ()</td></tr>
<tr class="separator:acf008c83829a4317556f1a4bfa2d06f7 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b711e8d494ca01cb5a3169f536b3ce inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a21b711e8d494ca01cb5a3169f536b3ce">GetTips</a> () const</td></tr>
<tr class="separator:a21b711e8d494ca01cb5a3169f536b3ce inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58485d30ef1da24cb25853b3992239da inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a58485d30ef1da24cb25853b3992239da">GetTrTips</a> () const</td></tr>
<tr class="separator:a58485d30ef1da24cb25853b3992239da inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8de6404e2ac04f2736edd7dd3854c2d inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#aa8de6404e2ac04f2736edd7dd3854c2d">GetActionText</a> () const</td></tr>
<tr class="separator:aa8de6404e2ac04f2736edd7dd3854c2d inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9290a2fc8d16239266551958b4e0c4c0 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a9290a2fc8d16239266551958b4e0c4c0">GetKeyboard</a> () const</td></tr>
<tr class="separator:a9290a2fc8d16239266551958b4e0c4c0 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaed7dd1cf6132e65e5f26959d8e77614 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#aaed7dd1cf6132e65e5f26959d8e77614">GetMin</a> () const</td></tr>
<tr class="separator:aaed7dd1cf6132e65e5f26959d8e77614 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e16709a1dd8458cba0d56808d2f6863 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a4e16709a1dd8458cba0d56808d2f6863">GetMax</a> () const</td></tr>
<tr class="separator:a4e16709a1dd8458cba0d56808d2f6863 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20b1206f028a9e138abb24eb1043abda inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a20b1206f028a9e138abb24eb1043abda">GetStep</a> () const</td></tr>
<tr class="separator:a20b1206f028a9e138abb24eb1043abda inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e81845aa7ea582699641556f4dfef9d inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">input_type_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a7e81845aa7ea582699641556f4dfef9d">GetInputType</a> () const</td></tr>
<tr class="separator:a7e81845aa7ea582699641556f4dfef9d inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80da6d8e8194c93aed9d992c4ebce06c inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a80da6d8e8194c93aed9d992c4ebce06c">GetReadonly</a> () const</td></tr>
<tr class="separator:a80da6d8e8194c93aed9d992c4ebce06c inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e487c50ee16e9861ff2b98c3c896e1 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#ae2e487c50ee16e9861ff2b98c3c896e1">GetPasswordVisible</a> () const</td></tr>
<tr class="separator:ae2e487c50ee16e9861ff2b98c3c896e1 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd148cd2cc2f7a92ae330c22ea47add1 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#afd148cd2cc2f7a92ae330c22ea47add1">GetAutoFix</a> () const</td></tr>
<tr class="separator:afd148cd2cc2f7a92ae330c22ea47add1 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af461baf1bb7f1561275d8211890f4dd7 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#af461baf1bb7f1561275d8211890f4dd7">GetSelectNoneWhenFocused</a> () const</td></tr>
<tr class="separator:af461baf1bb7f1561275d8211890f4dd7 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24107e61b22ed49402e7db7ccdbf80f9 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a24107e61b22ed49402e7db7ccdbf80f9">GetOpenImWhenFocused</a> () const</td></tr>
<tr class="separator:a24107e61b22ed49402e7db7ccdbf80f9 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a048fb5f8ac4a99a1575b71107d8e6f75 inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a048fb5f8ac4a99a1575b71107d8e6f75">GetCloseImWhenBlured</a> () const</td></tr>
<tr class="separator:a048fb5f8ac4a99a1575b71107d8e6f75 inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3d12d20a9dfd522d173bdbdfcc385f inherit pub_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#aff3d12d20a9dfd522d173bdbdfcc385f">GetCancelable</a> () const</td></tr>
<tr class="separator:aff3d12d20a9dfd522d173bdbdfcc385f inherit pub_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a537aeddc1c5536b0c10adc1e26b31c3a"><td class="memItemLeft" align="right" valign="top"><a id="a537aeddc1c5536b0c10adc1e26b31c3a"></a>
static <a class="el" href="class_t_spin_box.html">TSpinBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a537aeddc1c5536b0c10adc1e26b31c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa112d565aec8f3eebc1c93d34949da38"><td class="memItemLeft" align="right" valign="top"><a id="aa112d565aec8f3eebc1c93d34949da38"></a>
static <a class="el" href="class_t_spin_box.html">TSpinBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const widget_t *nativeObj)</td></tr>
<tr class="separator:aa112d565aec8f3eebc1c93d34949da38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a8d50d2ca4cb1093f8efada4040c3f8"><td class="memItemLeft" align="right" valign="top"><a id="a8a8d50d2ca4cb1093f8efada4040c3f8"></a>
static <a class="el" href="class_t_spin_box.html">TSpinBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (TWidget &amp;obj)</td></tr>
<tr class="separator:a8a8d50d2ca4cb1093f8efada4040c3f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3707e617a60829171758418471c8a8"><td class="memItemLeft" align="right" valign="top"><a id="a2a3707e617a60829171758418471c8a8"></a>
static <a class="el" href="class_t_spin_box.html">TSpinBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const TWidget &amp;obj)</td></tr>
<tr class="separator:a2a3707e617a60829171758418471c8a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb95e19e78caefa7de13b2434ae4ccfe"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_spin_box.html#acb95e19e78caefa7de13b2434ae4ccfe">Create</a> (TWidget &amp;parent, xy_t x, xy_t y, wh_t w, wh_t h)</td></tr>
<tr class="separator:acb95e19e78caefa7de13b2434ae4ccfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_t_edit"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_t_edit')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_t_edit.html">TEdit</a></td></tr>
<tr class="memitem:acb761872c5edad90c05302873e0e41ef inherit pub_static_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top"><a id="acb761872c5edad90c05302873e0e41ef"></a>
static <a class="el" href="class_t_edit.html">TEdit</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:acb761872c5edad90c05302873e0e41ef inherit pub_static_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a237bb23f151ac979121dfb5dd24594ed inherit pub_static_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top"><a id="a237bb23f151ac979121dfb5dd24594ed"></a>
static <a class="el" href="class_t_edit.html">TEdit</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const widget_t *nativeObj)</td></tr>
<tr class="separator:a237bb23f151ac979121dfb5dd24594ed inherit pub_static_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04264ec75fb97fbca8de622b55265f9c inherit pub_static_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top"><a id="a04264ec75fb97fbca8de622b55265f9c"></a>
static <a class="el" href="class_t_edit.html">TEdit</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (TWidget &amp;obj)</td></tr>
<tr class="separator:a04264ec75fb97fbca8de622b55265f9c inherit pub_static_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb40203659c19cdabac32529cf2ce2bb inherit pub_static_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top"><a id="acb40203659c19cdabac32529cf2ce2bb"></a>
static <a class="el" href="class_t_edit.html">TEdit</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const TWidget &amp;obj)</td></tr>
<tr class="separator:acb40203659c19cdabac32529cf2ce2bb inherit pub_static_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26b20f85d8539f92dfaf0732e5cc8b14 inherit pub_static_methods_class_t_edit"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_edit.html#a26b20f85d8539f92dfaf0732e5cc8b14">Create</a> (TWidget &amp;parent, xy_t x, xy_t y, wh_t w, wh_t h)</td></tr>
<tr class="separator:a26b20f85d8539f92dfaf0732e5cc8b14 inherit pub_static_methods_class_t_edit"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>spinbox控件。</p>
<p>一个特殊的数值编辑器，将edit_t和button_t进行组合，方便编辑数值。</p>
<p>点击向上的按钮将数值增加一个step，点击向下的按钮将数值减小一个step。 step的值可以通过step属性进行设置。</p>
<p>spin_box_t是edit\_t的子类控件，edit_t的函数均适用于spin_box_t控件。</p>
<p>在xml中使用"spin_box"标签创建spinbox控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">spin_box</span> <span class="keyword">w</span>=<span class="stringliteral">&quot;70%&quot;</span> <span class="keyword">input_type</span>=<span class="stringliteral">&quot;int&quot;</span> <span class="keyword">min</span>=<span class="stringliteral">&quot;-100&quot;</span> <span class="keyword">max</span>=<span class="stringliteral">&quot;100&quot;</span> <span class="keyword">step</span>=<span class="stringliteral">&quot;5&quot;</span>&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p></p>
</blockquote>
<p>更多用法请参考：<a href="https://github.com/zlgopen/awtk/blob/master/design/default/ui/spinbox.xml">spin_box.xml</a></p>
<p>在c代码中使用函数spin_box_create创建spinbox控件。如：</p>
<blockquote class="doxtable">
<p>创建之后:</p>
<p>可以用edit相关函数去设置它的各种属性。 </p>
</blockquote>
<blockquote class="doxtable">
<p>完整示例请参考：<a href="https://github.com/zlgopen/awtk-c-demos/blob/master/demos/spin_box.c">spin_box  demo</a></p>
<p>可用通过style来设置控件的显示风格，如背景和边框等。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">spin_box</span>&gt;</div>
<div class="line">*&lt;<span class="keywordtype">style</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;default&quot;</span> <span class="keyword">border_color</span>=<span class="stringliteral">&quot;#a0a0a0&quot;</span>  <span class="keyword">text_color</span>=<span class="stringliteral">&quot;black&quot;</span> <span class="keyword">text_align_h</span>=<span class="stringliteral">&quot;left&quot;</span>&gt;</div>
<div class="line">*&lt;<span class="keywordtype">normal</span>     <span class="keyword">bg_color</span>=<span class="stringliteral">&quot;#f0f0f0&quot;</span> /&gt;</div>
<div class="line">*&lt;<span class="keywordtype">focused</span>    <span class="keyword">bg_color</span>=<span class="stringliteral">&quot;#f0f0f0&quot;</span> <span class="keyword">border_color</span>=<span class="stringliteral">&quot;black&quot;</span>/&gt;</div>
<div class="line">*&lt;<span class="keywordtype">disable</span>    <span class="keyword">bg_color</span>=<span class="stringliteral">&quot;gray&quot;</span> <span class="keyword">text_color</span>=<span class="stringliteral">&quot;#d0d0d0&quot;</span> /&gt;</div>
<div class="line">*&lt;<span class="keywordtype">error</span>      <span class="keyword">bg_color</span>=<span class="stringliteral">&quot;#f0f0f0&quot;</span> <span class="keyword">text_color</span>=<span class="stringliteral">&quot;red&quot;</span> /&gt;</div>
<div class="line">*&lt;<span class="keywordtype">empty</span>      <span class="keyword">bg_color</span>=<span class="stringliteral">&quot;#f0f0f0&quot;</span> <span class="keyword">text_color</span>=<span class="stringliteral">&quot;#a0a0a0&quot;</span> /&gt;</div>
<div class="line">*&lt;/<span class="keywordtype">style</span>&gt;</div>
<div class="line">*&lt;/<span class="keywordtype">spin_box</span>&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考：<a href="https://github.com/zlgopen/awtk/blob/master/design/default/styles/default.xml#L128">theme  default</a> </p>
</blockquote>
</blockquote>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="acb95e19e78caefa7de13b2434ae4ccfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb95e19e78caefa7de13b2434ae4ccfe">&#9670;&nbsp;</a></span>Create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TWidget TSpinBox::Create </td>
          <td>(</td>
          <td class="paramtype">TWidget &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xy_t&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xy_t&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建spin_box对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="ab4bc16d16b0d65515a31d8610fbf2ce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4bc16d16b0d65515a31d8610fbf2ce2">&#9670;&nbsp;</a></span>GetButtonPosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char * TSpinBox::GetButtonPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>按钮位置样式选择，优先级高于easy_touch_mode，各模式对应样式如下,默认为none。 none：按照easy_touch_mode选择样式 default：inc按钮在右上角，dec按钮在右下角。 left_right：dec按钮在左边，inc按钮在右边。 top_bottom：inc按钮在顶部，dec按钮在底部。 </p>

</div>
</div>
<a id="a27ecbb6c1cc664c5d6527052f1b15e6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27ecbb6c1cc664c5d6527052f1b15e6a">&#9670;&nbsp;</a></span>GetEasyTouchMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TSpinBox::GetEasyTouchMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否启用易点击模式(在电容屏设备上建议启用)。 </p><blockquote class="doxtable">
<p>在该模式下：</p><ul>
<li>1.当高度大于font size的3倍时，inc按钮在顶部(style名为spinbox_top)，dec按钮在底部(style名为spinbox_bottom)。</li>
<li>2.当高度正常时，dec按钮在左边(style名为spinbox_left)，inc按钮在右边(style名为spinbox_right)。 不在该模式下： inc按钮在右上角(style名为spinbox_up)，dec按钮在右下角(style名为spinbox_down)。 </li>
</ul>
</blockquote>

</div>
</div>
<a id="a124db5cf6dfbacfe8dff41721b9a9549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a124db5cf6dfbacfe8dff41721b9a9549">&#9670;&nbsp;</a></span>SetButtonPosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TSpinBox::SetButtonPosition </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>button_position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置按钮位置样式。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">button_position</td><td>按钮位置样式。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ab42cdbde65ea75df9ebb3081cfc0c147"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab42cdbde65ea75df9ebb3081cfc0c147">&#9670;&nbsp;</a></span>SetEasyTouchMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TSpinBox::SetEasyTouchMode </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>easy_touch_mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置是否启用易点击模式。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">easy_touch_mode</td><td>易点击模式。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ab93fe331e69ff1e2753d1031ad44e47e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab93fe331e69ff1e2753d1031ad44e47e">&#9670;&nbsp;</a></span>SpinSetRepeat()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TSpinBox::SpinSetRepeat </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>repeat</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置连击的时间间隔。 备注：时间间隔越低，速度越快。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">repeat</td><td>连击的时间间隔。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a></li>
<li>output/awtk_cpp.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
